package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.PowerStatus;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RelayItem implements Trans<RelayItem, CompleteEntity.RelayItem> {

    /**
     * 继电器编号
     */
    private String relayNumber;

    /**
     * 继电器状态
     */
    private PowerStatus status;

    /**
     * 继电器开合延迟时间，J9~J12有效
     */
    private Integer delayTime;
}

